package com.story.aistory.service;

import com.story.aistory.domain.dto.UserDTO;
import com.story.aistory.domain.dto.UserLoginDTO;
import com.story.aistory.domain.po.Result;
import com.story.aistory.domain.po.Users;
import com.baomidou.mybatisplus.extension.service.IService;
import com.story.aistory.domain.vo.UserLoginVO;
import org.apache.catalina.User;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hui
 * @since 2025-03-12
 */
public interface IUsersService extends IService<Users> {


    UserLoginVO login(UserLoginDTO userLoginDTO);

    Result saveUserData(UserDTO userDTO);

    Result uploadAvatar(MultipartFile mpFile);

    Result<Users> getUser();

    Result updateUserData(Users users);
}
